package com.qf.cx.simplenms.webservice.model;

import java.util.Collections;

import com.google.gson.Gson;

public class TagMemoryToJson {
	public static void main(String[] args) {
		Gson gson = new Gson();

		TagMemory tm = new TagMemory();
		tm.setName("123");
		tm.setBank(1);
		tm.setLength(1);
		tm.setOffset(1);

		System.out.println(gson.toJson(Collections.singletonList(tm)));

	}
}
